package com.zzyl.nursing.service.impl;

import com.zzyl.nursing.domain.NursingProject;
import com.zzyl.nursing.mapper.MemberOrdersProjectMapper;
import com.zzyl.nursing.service.IMemberOrdersProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MemberOrdersProjectServiceImpl implements IMemberOrdersProjectService {
    @Autowired
    private MemberOrdersProjectMapper memberOrdersProjectMapper;
    /**
     * 查询护理项目列表
     *
     * @param nursingProject 护理项目
     * @return 护理项目
     */
    @Override
    public List<NursingProject> selectNursingProjectList(NursingProject nursingProject)
    {
        return memberOrdersProjectMapper.selectNursingProjectList(nursingProject);
    }

    @Override
    public NursingProject selectNursingProjectById(Integer id)
    {
        return memberOrdersProjectMapper.selectById(id);
    }
}
